package com.yufa.springcloud.feign;

import com.yufa.config.FeignClient02Config;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name="sss", url = "http://localhost:10000", configuration = FeignClient02Config.class)
public interface FeignClient02 {

    @RequestMapping(value = "/eureka/apps/{name}")
    String getserviceinfo(@PathVariable("name") String name);

}
